void quicksort(Linklist head, Linklist end)
{
    if(head == NULL || head == end)
        return ;
    int t;
    Linklist p = head->next;
    Linklist small = head;
    while(p != end)
    {
        if(p->data<head->data)
        {
            small = small->next;
            t = small->data;
            small->data = p->data;
            p->data = t;
        }
        p = p->next;
    }
    t = head->data;
    head->data = small->data;
    small->data = t;
    quicksort(head, small);
    quicksort(small->next, end);
}